<script type="text/javascript" src="<?php echo base_url()?>static/ckplay/js/offlights.js"></script>
<script type="text/javascript" src="<?php echo base_url()?>static/ckplay/ckplayer/ckplayer.js" charset="utf-8"></script>
<div id="video" style="position:relative;z-index: 100;width:600px;height:400px;float: left;"><div id="a1"></div></div>

<script type="text/javascript">
	var flashvars={
		f:'<?php echo site_url('play/home/video/'.$id);?>',
		c:0,
		b:1
		};
	var params={bgcolor:'#FFF',allowFullScreen:true,allowScriptAccess:'always'};
	CKobject.embedSWF('<?php echo base_url()?>static/ckplay/ckplayer/ckplayer.swf','a1','ckplayer_a1','600','400',flashvars,params);
	/*
	CKobject.embedSWF(播放器路径,容器id,播放器id/name,播放器宽,播放器高,flashvars的值,其它定义也可省略);
	下面三行是调用html5播放器用到的
	
	var video=['<?php echo base_url($data->url.$data->file_name);?>'];
	var support=['iPad','iPhone','ios','android+false','msie10+false','webKit'];*/
	/*CKobject.embedHTML5('video','ckplayer_a1',600,400,video,flashvars,support);*/
  </script>
</body>
</html>
